import java.io.*;

public class BufferedIO{
	public static void dump(InputStream src,OutputStream dest)
		throws IoExpection{
		try(InputStream input = new BufferedInputStream(dest){
			byte[] data = new byte[1024];
			int length;
			while ((length = input.read(data))!=-1){
				output.write(data,o,length);
			}
		}
	}
}

